package com.happy.cat.project.system.service;

import com.happy.cat.project.system.domain.UserOfficialAccount;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 用户粉丝、关注Service接口
 *
 * @author verne
 * @date 2020-09-03
 */
public interface IUserOfficialAccountService extends IService<UserOfficialAccount> {

    /**
     * 我关注的
     * @param id
     * @param type
     * @return
     */
    Integer countsToAccountId(Long id,  int type);

    /**
     * 粉丝
     * @param id
     * @param i
     * @return
     */
    Integer countsToFansId(Long id, int i);
}
